package com.antdesignbackend.backend.form.feedManagement.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 饲料和饲料添加剂经营企业检查记录表
 *
 * @author 林宇杰
 * @email feedManagement
 * @date 2020-08-24 14:24:16
 */

@Data
@TableName(value = "t_feedmanagement")
public class FeedManagement implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//企业名称
	@TableField(value = "EnterpriseName")
	private String enterpriseName;
	//企业id
	@TableField(value = "EnterpriseId")
	private Integer enterpriseId;
	//营业执照
	@TableField(value = "BusinessLicense")
	private String businessLicense;
	//注册地址
	@TableField(value = "Address")
	private String address;
	//企业负责人
	@TableField(value = "EnterprisePerson")
	private String enterprisePerson;
	//经营品种
	@TableField(value = "Varieties")
	private String varieties;
	//联系电话
	@TableField(value = "Phone")
	private String phone;
	//场所、人员及制度情况
	@TableField(value = "SystemSituation")
	private String systemSituation;
	//经营产品情况
	@TableField(value = "ProductSituation")
	private String productSituation;
	//购销记录情况
	@TableField(value = "ShopSituation")
	private String shopSituation;
	//标签与包装情况
	@TableField(value = "TitleSituation")
	private String titleSituation;
	//其它情况
	@TableField(value = "OtherSituation")
	private String otherSituation;
	//需要整改项目
	@TableField(value = "RectificationProject")
	private String rectificationProject;
	//企业代表签字
	@TableField(value = "Sign")
	private String sign;
	//处理日限
	@TableField(value = "DayLimit")
	private Integer dayLimit;
	//检查人员及执法证件号
	@TableField(value = "CertificateNumber")
	private String certificateNumber;
	//检查部门
	@TableField(value = "Department")
	private String department;
	//检查部门电话
	@TableField(value = "DepartmentPhone")
	private String departmentPhone;
	//检查日期
	@TableField(value = "InspectionDate")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date inspectionDate;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
}
